using System.Collections.Generic;
using System.Windows.Input;

using EMan.Interface.Common;

using TrueCode.Core.Aspects;


namespace EMan.Interface.EnterpriseStructure.Jobs
{
  public interface IJobListEditorView : IView{}

  public interface IJobListEditorPresenter : IPresenter< IJobListEditorView >
  {
    bool IsReadonly{ get; }
    IEnumerable< JobEditable > Jobs{ get; }
    JobEditable SelectedItem{ get; set; }

    ICommand CreateJobCommand { get; }
    ICommand EditJobCommand { get; }
    ICommand DeleteJobCommand { get; }
    ICommand SaveChangesCommand { get; }

    [UsedImplicitly]
    JobEditable EditJobSession { get; }
  }
}